Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 25, 2023

Updates the requirements on corsica to permit the latest version.

Changelog

Sourced from corsica's changelog.

v2.1.2

  • Fix a bug with typespecs and Dialyzer.

v2.1.1

Bug fixes

  • Fix a small issue with preflight requests and the :passthrough_non_cors_requests option.
  • Add the Corsica.options/0 type.

v2.1.0

Improvements

  • Add the :passthrough_non_cors_requests option.
  • Add the Corsica.sanitized_options/0 and Corsica.options/0 types.

v2.0.0

Breaking changes

  • The :origins option is now required. Not having this option used to warn before this version.
  • The :log option was removed in favor of Corsica.Telemetry.

Improvements

  • Start emitting Telemetry events (see Corsica.Telemetry).
  • Bump Elixir requirement to 1.11+.
  • Response headers that contain lists (such as access-control-expose-headers) are now joined without spaces, so what could be GET, POST, DELETE before is now GET,POST,DELETE. Every byte's important.

Upgrading from 1.x to 2.0.0 is a matter of these things:

  • If you're not specifying the :origins options when using Corsica, add origins: "*" to all the places you're using Corsica (as a plug, through Corsica.Router, or through the functions in the Corsica module).

  • If you were using the :log option, remove it and call this in your application's start/2 callback:

    log_levels = # what you were using before as the :log option
    Corsica.Telemetry.attach_default_handler(log_levels: log_levels)
    Supervisor.start_link(...)

v1.3.0

Improvements

... (truncated)

Commits
  • 8f555a6 Release v2.1.2
  • 1560dcc Remove opaque Corsica.sanitized_options/0 type
  • 1857c34 Release v2.1.1
  • c3e17ef Fix small bug with :passthrough_non_cors_requests
  • 2bce890 Update missing info in CHANGELOG
  • 2ca00ce Release v2.1.0
  • 4c1d789 Add :passthrough_non_cors_requests option
  • a2f7128 Add a few missing specs to functions
  • d5291bb Fix then/2 usage in older Elixirs
  • e1f7693 Update Erlang and Elixir in CI
  • Additional commits viewable in compare view

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code labels Jul 25, 2023
@beatrixada
Copy link
Contributor

@dependabot rebase

1 similar comment
@beatrixada
Copy link
Contributor

@dependabot rebase

@beatrixada
Copy link
Contributor

@dependabot recreate

1 similar comment
@beatrixada
Copy link
Contributor

@dependabot recreate

@firestack firestack self-assigned this Oct 3, 2025
@firestack
Copy link
Member

@dependabot recreate

Updates the requirements on [corsica](https://github.com/whatyouhide/corsica) to permit the latest version.
- [Release notes](https://github.com/whatyouhide/corsica/releases)
- [Changelog](https://github.com/whatyouhide/corsica/blob/main/CHANGELOG.md)
- [Commits](whatyouhide/corsica@v1.3.0...v2.1.2)

---
updated-dependencies:
- dependency-name: corsica
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/hex/apps/api_web/corsica-tw-2.1 branch from 4e7a5db to a072f2b Compare October 7, 2025 17:32
@dependabot dependabot bot requested a review from a team as a code owner October 7, 2025 17:32
@dependabot dependabot bot requested review from rudiejd and removed request for a team October 7, 2025 17:32
@rudiejd
Copy link
Member

rudiejd commented Oct 15, 2025

closing in favor of #794 (dependabot recreated)

@rudiejd rudiejd closed this Oct 15, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 15, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/hex/apps/api_web/corsica-tw-2.1 branch October 15, 2025 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants